package com.ly.hotel.model;

import java.io.Serializable;

//{\"id\":14,\"channel\":10001,\"name\":\"CCTV-1\",\"imageSys\":\"PAL\",\"soundSys\":\"I\",\"priority\":1}
@SuppressWarnings("serial")
public class LiveManagement implements Serializable {
	
	private Integer id;			//ID，这个是数据库表项的ID，实际是没有用的
	private String name;		//频道名称
	private String channel;		//频率
	private Integer priority;	//排序号
	private String imageSys;	//图像制式
	private String soundSys;	//音频制式
	private int status;			//表名是否是默认频道 10是默认,-10是正常
	private String extend;		//扩展配置,目前当801和628混合使用时作为另外801的频点使用
	
	public boolean isDefaultChannel(){
		if(status == 1){
			return true;
		}else{
			return false;
		}
	}
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getFreq() {
		return channel;
	}
	public void setFreq(String freq) {
		this.channel = freq;
	}
	public Integer getPosition() {
		return priority;
	}
	public void setPosition(Integer position) {
		this.priority = position;
	}
	public String getZhishi() {
		return imageSys;
	}
	public void setZhishi(String zhishi) {
		this.imageSys = zhishi;
	}
	public String getRadioZhishi() {
		return soundSys;
	}
	public void setRadioZhishi(String radioZhishi) {
		this.soundSys = radioZhishi;
	}

	public String getExtend() {
		return extend;
	}

	public void setExtend(String extend) {
		this.extend = extend;
	}
}
